<?php echo $this->doctype();?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->headTitle();?>
<?php echo $this->headMeta();?>
<?php echo $this->headLink();?>
<?php echo $this->headScript();?>
<?php echo $this->headStyle();?>
</head>
    <body>
        <div id="wrapper">
            <div id="header">
                <div id="banner">
                    <ul id="small-nav">
                        <li><a href="#">Home</a></li>
                        <li><a href="#">About</a></li>
                        <li><a href="#">Contact</a></li>
                        <li><a href="#">Sitemap</a></li>
                     </ul>
                </div><!--End #banner-->
                
                <div id="logo">
                    <div id="title">
                        <h1><span>Welcome</span> To My Blog</h1>
                        <p id="author">Design by NamHai</p>
                    </div><!--End #tiitle-->
                    <div id="code">
                         <p class="code">$('#my_element').bind('mousewheel',<br />
                                        	&nbsp;&nbsp;&nbsp; function(event, delta) { <br />
                                         &nbsp;&nbsp;&nbsp; console.log(delta);<br />
                                        &nbsp;});
                        </p>
                    </div><!--End #code-->
                </div><!--End #logo-->
            </div><!--End #header-->
     
            <div id="content">
                <div id="side-bar">
                    <ul id="side-bar">
                        <li><a href="#">Link Navigation</a></li>
                        <li><a href="#">Framework Tutorial</a></li>
                        <li><a href="#">Template Tutorial</a></li>
                        <li><a href="#">API Tutorial</a></li>
                        <li><a href="#">AJAX Tutorial</a></li>
                        <li><a href="#">Web Services</a></li>
                        <li><a href="#">Database Tutorial</a></li>
                        <br /> 
                    </ul>
                    
                    <?php 
                    	echo '<img src="'.$this->imgUrl.'/Login.jpg" width="176" height="38" />';
                    	echo $this->Login();
						echo $this->NewPosts();
					?>
            
                </div><!--End #side-bar-->
                
                <div id="primary-avd">
	                <div id="primary">
	                    <ul id="Nav-bar">
	                        <li><b><a href="<?php echo $this->baseurl(); ?>">HOME</a></b></li>
	                        <li><?php echo $this->addPostUser();?></li>
	                        <li><?php echo $this->loggedInUser();?></li>
	                        <li><b><a href="<?php echo $this->baseurl()."/index/register"; ?>">REGISTER</a></b></li>
	                        <li><a href="#">CONTACT</a></li>
	                        <li><a href="#">ABOUT</a></li>
	                        <li><a href="#">FAQS</a></li>
	                        <li><a href="#">HELP</a></li>
	                     </ul>